<?php
namespace Home\Controller;

use Think\Controller;

class LogoutController extends Controller
{
    public function index()
    {
        session_unset();
        session_destroy();
        $this->success("退出成功",U('home/index/index'));

    }

    public function out(){
        session_unset();
        session_destroy();
        $this->success("退出成功",U('home/login/index'));
    }








}